

#ifndef _SHELL_RESITEMS_MESSAGE_H_
#define _SHELL_RESITEMS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "ItemInfo.h"
using namespace std;

class ResItemsMessage : public Message
{
	public:
	ResItemsMessage();
	~ResItemsMessage();
	void reset();
	ResItemsMessage* clone();
	static const int _ID;
	//背包物品信息
	vector<ItemInfo*> items;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
